package com.framework.file.service;

import com.framework.file.dto.FileManageUploadDto;
import com.framework.file.model.FileManage;
import com.framework.file.param.FileManageParam;
import com.framework.file.vo.FileManageVo;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.PageRequest;

import java.util.List;


/**
 * @description: 档案管理 Service
 * @author: lizurong
 * @version: 1.0
 * @date: 2021-04-01 16:53:14
 */

public interface IFileManageService {
    Page<FileManage> listPage(FileManageParam param, PageRequest pageRequest);

    String save(FileManage param);

    void delete(List<String> ids);

    void update(FileManage param);

    List<FileManageVo> getLeftList(String loginComId);

    String getTreeLocation(String id);

    List<FileManage> getTree(String id);

    void upload(FileManageUploadDto dto) throws Exception;

    void initSgCatalog() throws Exception;

    void initJlCatalog() throws Exception;

    void initYzCatalog() throws Exception;

}
